import request from "@/utils/request.js"

export const transferList = (data) => {
    return request.get("/materialTransfer/list", {params: data});
}
export const addTransfer = (data) => {
    return request.post("/materialTransfer/add", data, {})
}
export const getTransferDetail = (id) => {
    return request.get(`/materialTransfer/detail/${id}`)
}
export const updateMaterialTransferStatus = (mtId, status) => {
    return request.put(`/materialTransfer/upStatus/${mtId}/${status}`)
}